Hearing aid with gain precalculation principle 1